//
//  XPlanModel.h
//  iPlan
//
//  Created by 侯伟 on 2021/8/29.
//

#import <Foundation/Foundation.h>
#import "XPlanDate.h"

NS_ASSUME_NONNULL_BEGIN

@interface XPlanModel : RLMObject

/// id
@property(nonatomic,assign)NSInteger id;

/// 类型
@property(nonatomic,assign)ADateType dateType;

/// 名称
@property(nonatomic,copy)NSString* name;

/// 表述
@property(nonatomic,copy)NSString* desc;

/// 计划数量
@property(nonatomic,assign)NSInteger planCount;

/// 打卡记录
@property(nonatomic,strong)RLMArray<XPlanDate *><XPlanDate> *records;

@end


NS_ASSUME_NONNULL_END
